import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 引入echarts
import * as echarts from 'echarts'
// 引入element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 挂载element-ui到全局
Vue.use(ElementUI)

// echarts挂载到全局
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
